<template>
  <input type="checkbox" v-model="isGroup" /> group chat?
  <p />

  <GroupChat v-if="isGroup" />

  <Chat v-else="" />
</template>

<script lang="ts" setup>
import Chat from './components/Chat.vue'
import GroupChat from './components/GroupChat.vue'
import { ref } from '@vue/reactivity'

const isGroup = ref(true)
</script>
